package cn.topevery.garden.entity.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 *  DTO
 *
 * @author code-generate
 * @date 2021-09-17
 */
@Data
@ApiModel(value = "IotDeviceIrrigationLogDTO", description = " DTO")
public class IotDeviceIrrigationLogDTO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /** 设备编号 */
    @ApiModelProperty(value = "设备编号")
    private String deviceCode;

    /** 数据时间 */
    @ApiModelProperty(value = "数据时间")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime date;

    /** 1路喷灌状态(N:正常/D:异常) */
    @ApiModelProperty(value = "1路喷灌状态(N:正常/D:异常)")
    private String g10001flag;

    /** 1路喷灌开关状态(1:开/0:关) */
    @ApiModelProperty(value = "1路喷灌开关状态(1:开/0:关)")
    private String g10001rtd;

    /** 2路喷灌状态(N:正常/D:异常) */
    @ApiModelProperty(value = "2路喷灌状态(N:正常/D:异常)")
    private String g10002flag;

    /** 2路喷灌开关状态(1:开/0:关) */
    @ApiModelProperty(value = "2路喷灌开关状态(1:开/0:关)")
    private String g10002rtd;

    /** 3路喷灌状态(N:正常/D:异常) */
    @ApiModelProperty(value = "3路喷灌状态(N:正常/D:异常)")
    private String g10003flag;

    /** 3路喷灌开关状态(1:开/0:关) */
    @ApiModelProperty(value = "3路喷灌开关状态(1:开/0:关)")
    private String g10003rtd;

    /** 1路土壤墒情状态(N:正常/D:异常) */
    @ApiModelProperty(value = "1路土壤墒情状态(N:正常/D:异常)")
    private String a01097flag;

    /** 1路土壤墒情(%) */
    @ApiModelProperty(value = "1路土壤墒情(%)")
    private BigDecimal a01097rtd;

    /** 2路土壤墒情状态(N:正常/D:异常) */
    @ApiModelProperty(value = "2路土壤墒情状态(N:正常/D:异常)")
    private String a01098flag;

    /** 2路土壤墒情(%) */
    @ApiModelProperty(value = "2路土壤墒情(%)")
    private BigDecimal a01098rtd;

    /** 3路土壤墒情状态(N:正常/D:异常) */
    @ApiModelProperty(value = "3路土壤墒情状态(N:正常/D:异常)")
    private String a01099flag;

    /** 3路土壤墒情(%) */
    @ApiModelProperty(value = "3路土壤墒情(%)")
    private BigDecimal a01099rtd;



}
